import {ref} from 'vue'
import { defineStore } from 'pinia'

export const useClassStore = defineStore('class', () => {
    let classes =ref()
    const setClasses = (a) => {
        classes.value=a
    }
    let students =ref()
    const setStudents =(a)=>{
        students.value=a
    }
    return {classes,setClasses,students,setStudents}
}, {
    persist:true
})
